\documentclass{article}
\usepackage{graphicx}

\begin{document}

\includegraphics{nothere}

\includegraphics{notthere}

\section{test}

\includegraphics{notanywhere}

\end{document}
